import { MemberInfo } from "./user";

// Auth Types
export interface RegisterRequest {
  email: string;
  password: string;
  passwordRepetition: string;
  verifyCode: string;
  inviteCode: string;
}

export interface RegisterResponse {
  accessToken: string;
  member: MemberInfo;
}


export interface SendEmailRequest {
  email: string;
  scene?: string;
}

export interface SendEmailResponse {
  email: string;
  expireTime: string;
}

export interface LoginRequest {
  email: string;
  password: string;
  googleCode?: string;
}

export interface LoginResponse {
  accessToken: string;
  member: MemberInfo;
}

export interface SettingCodeRequest {
  email: string;
}
